/**
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 * @format
 * @oncall relay
 */

body {
  font-family: Arial;
}
h1 {
  font-size: 3rem;
  font-weight: 300;
  margin-bottom: 1rem;
}
h2 {
  font-size: 1.2rem;
  font-weight: 500;
}
.commits {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}
.commit {
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  padding: 16px;
  box-sizing: border-box;
  margin: 8px auto;
  width: 320px;
  overflow: hidden;
  border: none;
  text-align: left;
}
.commit .summary {
  font-size: 1.1rem;
}
.commit .author {
  font-weight: 600;
}
.instructions {
  padding: 8px;
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.6);
}
.categories {
  display: flex;
  margin: 0;
  padding: 0;
}

.categories-picker {
  margin: 0;
  padding: 0;
}

.category {
  margin: 0;
  padding: 0;
  list-style-type: none;
  box-sizing: border-box;
  margin-left: 8px;
  padding: 4px;
  border: 1px solid rgba(0,0,0,0.2);
}

.BREAKING {
  background-color: tomato;
}

.NEW_API {
  background-color:forestgreen;
  color: white;
}

.BUGFIX {
  background-color:orange;
}

.IMPROVEMENTS {
  background-color: cornflowerblue;
}

.DOCS {
  background-color:gold
}

.MISC {
  background-color: darkgray;
  color: lightblue;
}

.SKIP {
  background-color: lightgray;
  color: darkgray;
  opacity: 0.3;
}

.EXPERIMENTAL {
  background-color:chartreuse;
  color: blueviolet;
}

.layout {
  display: grid;
  grid-template-columns: 60% 40%
}

.release_notes {
  position: relative;
}

.copy_prompt {
  font-style: italic;
  font-size: 1em;
  color: gray;
  margin-bottom: 20px;
}

.release_notes_content {
  position: sticky;
  top: 0;
  overflow-y: scroll;
  font-family: monospace;
}

.release_notes_content ul {
  padding: 0;
  margin: 0;
}
.release_notes_content li {
  list-style-type: none;
}
